#ifndef _RESOLUTION_H
#define _RESOLUTION_H

namespace Graphics
{
	class Resolution
	{
	public:
		Resolution();
		~Resolution();

		void Init(const Vector2f& aResolution);

		const Vector2f ConvertToRenderPos(const Vector2f& aOriginalPosition);
		const Vector2f ConvertToRenderSize(const Vector2f& aOriginalSize);
		const Vector2f ConvertToCursorPos(const Vector2f& aOriginalPosition); // Undoes the stuff in ConvertToRenderPos to keep the cursor at the same sensetivity in all resolutions
		void SetupScissorRect();

		const Vector2f GetCenter();
		const Vector2f& GetBaseResolution();

	private:
		
	private:
		Vector2f myBaseResolution;
		Vector2f myResolution;
		float mySizeScale;
	};
}

#endif